package com.tz.crm.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 全局设置 实体类
 * 用于 系统 - 其他设置 菜单
 *
 * @author 胡荆陵
 */
@Entity
@Table(name = "tbl_global_config")
public class GlobalConfig extends BaseEntity {
    private static final long serialVersionUID = -7289963365854455746L;

    private String code;
    private String displayName;
    private String value;

    /**
     * 空参构造
     */
    public GlobalConfig() {
    }


    @Column(name = "gc_code", unique = true, nullable = false)
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Column(name = "gc_display_name", nullable = false)
    public String getDisplayName() {
        return displayName;
    }

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    @Column(name = "gc_value", nullable = false)
    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

}
